package com.example.websocket.dao;

import com.example.websocket.model.table.ChatRoom;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ChatRoomMapper {

    int deleteByPrimaryKey(Integer id);

    int insertSelective(ChatRoom record);

    ChatRoom selectByPrimaryKey(Integer id);

    List<ChatRoom> selectList(ChatRoom record);

    int updateByPrimaryKeySelective(ChatRoom record);

}